{template "header.html", "/"}

<div class="page-container">
    <div class="page-content-wrapper">

        <div class="page-content">
            <div class="container">

                <ul class="page-breadcrumb breadcrumb">
                    <li><a href="{SITE_URL}">首页</a><i class="fa fa-angle-right"></i></li>
                    <li><a href="{MODULE_URL}">{MODULE_NAME}</a><i class="fa fa-angle-right"></i></li>
                    {dr_catpos($catid, '', 1, '<li><a href="{url}">{name}</a><i class="fa fa-angle-right"></i></li>'.PHP_EOL)}
                    <li> <span>搜索</span></li>
                </ul>


                {template "params.html"}


                <div class="news-content row">

                    <div class="col-md-12">
                        <div class="search-content search-mall">
                            <div class="title">
                                <div class="tabs clearfix">
                                    <ul>
                                        <li class="{if !$get.order || $get.order=='updatetime'}selected{/if}"><a href="{dr_search_url($params, 'order', null)}">默认排序</a></li>
                                        <li class="{if $get.order=='order_volume_desc'}selected{/if}"><a href="{dr_search_url($params, 'order', 'order_volume_desc')}">销量降序</a></li>
                                        <li class="{if $get.order=='order_volume_asc'}selected{/if}"><a href="{dr_search_url($params, 'order', 'order_volume_asc')}">销量升序</a></li>
                                        <li class="{if $get.order=='order_price_desc'}selected{/if}"><a href="{dr_search_url($params, 'order', 'order_price_desc')}">价格降序</a></li>
                                        <li class="{if $get.order=='order_price_asc'}selected{/if}"><a href="{dr_search_url($params, 'order', 'order_price_asc')}">价格升序</a></li>
                                    </ul>
                                </div>
                                <div class="fr clearfix">
                                    <span class="fl">共有</span><em>{$sototal}</em>件商品
                                </div>
                            </div>
                            {if $searchid}
                            <div class="book-content-list">

                                <div class="tg_sys_list tg_sys_list2">

                                    <div class="bd">
                                        <ul class="clearfix" id="tgList">

                                            {search module=$dirname id=$searchid order=$params.order total=$sototal catid=$catid page=1 pagesize=30 urlrule=$urlrule}
                                            <li class="item time_left">
                                                <a href="{$t.url}" target="_blank" class="scale_img_wrap"><img src="{dr_thumb($t.thumb.0, 200, 200)}" class="img" alt="{$t.title}"></a>
                                                <div class="tit">
                                                    <a href="{$t.url}" target="_blank" class="buy">{$t.title}</a>
                                                </div>
                                                <div class="price"><span class="sell">已售 <em class="tg_chrnum tg_chrnum_2">{$t.order_volume}</em></span>￥<em>{$t.order_price}</em></div>
                                            </li>
                                            {/search}
                                        </ul>
                                    </div>
                                    <div class="pageNavigation">
                                    </div>
                                </div>


                            </div>
                            <div class="news-list-pagination">
                                <ul class="pagination">
                                    {$pages}
                                </ul>
                            </div>
                        {else}
                        <div class="no-feed"> <div class="empty-img"> <img src="{HOME_THEME_PATH}pc/img/empty_result.png" alt="404"> </div> <p>在这个星球中找不到</p> </div>
                        {/if}

                        </div>
                    </div>



                </div>

            </div>
        </div>

    </div>

</div>


{template "shop.html"}
{template "footer.html", "/"}